﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SesliTray
{
    class SesliSozlukData
    {
        public string text { get; set; }
        public string lang { get; set; }
    }

    class SesliSozluk
    {
        private string htmlWebSearchContent;

        public void getDataFromSeslisozluk(SesliSozlukData sData)
        {
            string result = null;
            string sesli_url = "http://m.seslisozluk.com/?word=" + sData.text;
            
            WebClient myWebClient = new WebClient();
            htmlWebSearchContent = myWebClient.DownloadString(sesli_url);

            return;
        }
    }
}
